package com.yipao.db.dao.order;

import com.yipao.db.domain.Order;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * 订单
 *
 * @author tianhao
 */
public interface YipaoOrderMapper {
    /**
     * 修改订单
     *
     * @param lastUpdateTime 最后修改时间
     * @param order          订单对象
     * @return
     */
    int updateWithOptimisticLocker(@Param("lastUpdateTime") LocalDateTime lastUpdateTime, @Param("order") Order order);
}



